﻿using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace GDPView.Models
{
    [Table("GDPData")]
    public class GDPData
    {
        [Key]
        [Column("Id")]
        public int Id { get; set; }
        [Required]
        [Column("GDPYear")]
        public int GDPYear { get; set; }
        [Required]
        [Column("Data")]
        public Decimal Data { get; set; }
    }
}
